import request from '@/utils/request'
import {LoginType} from '@/types/userType'
export function loginApi(data:LoginType){
    return request({
        method:'POST',
        url:'/login',
        data
    })
}